{% extends "base.html" %}

{% block title %}
    职员管理-详情
{% endblock %}

{% block head %}
    <h1 class="page-header">职员管理-详情</h1>
{% endblock %}

{% block content %}
    <div class="col-lg-12">
        <div class="row">
            <table class="table">
                <tr>
                    <td>用户名</td>
                    <td>{{ person.username }}</td>
                </tr>
                <tr>
                    <td>密码</td>
                    <td>{{ person.password }}</td>
                </tr>
                <tr>
                    <td>昵称</td>
                    <td>{{ person.nickname }}</td>
                </tr>
                <tr>
                    <td>性别</td>
                    <td>{{ person.gender }}</td>
                </tr>
                <tr>
                    <td>年龄</td>
                    <td>{{ person.age }}</td>
                </tr>
                <tr>
                    <td>邮箱</td>
                    <td>{{ person.email }}</td>
                </tr>
                <tr>
                    <td>头像</td>
                    <td>
                        <div class="thumbnail">
                            <img src="/static/{{ person.photo }}" alt="">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>地址</td>
                    <td>{{ person.address }}</td>
                </tr>
                <tr>
                    <td>绩效</td>
                    <td>{{ person.score }}</td>
                </tr>
                <tr>
                    <td>职位</td>
                    <td>{{ person.our_position.p_name }}</td>
                </tr>
                <tr>
                    <td>部门</td>
                    <td>{{ person.our_position.p_depart.d_name }}</td>
                </tr>
            </table>
        </div>
    </div>
{% endblock %}